package com.bqtv.sport.ui.im

import android.content.Context
import android.content.Intent
import android.view.View
import androidx.recyclerview.widget.LinearLayoutManager
import com.bqtv.sport.R
import com.bqtv.sport.adapter.RecommendFriendAdapter
import com.bqtv.sport.adapter.SearchFriendAdapter
import com.bqtv.sport.app.AppActivity
import com.bqtv.sport.databinding.ActivityMyNewFriendBinding
import com.bqtv.sport.databinding.ActivitySearchFriendBinding
import com.bqtv.sport.ui.mine.QRCodeScanActivity
import com.tencent.qcloud.tuikit.timcommon.component.interfaces.IUIKitCallback
import com.tencent.qcloud.tuikit.tuicontact.bean.FriendApplicationBean
import com.tencent.qcloud.tuikit.tuicontact.classicui.widget.NewFriendListAdapter
import com.tencent.qcloud.tuikit.tuicontact.interfaces.INewFriendActivity
import com.tencent.qcloud.tuikit.tuicontact.presenter.NewFriendPresenter
import com.tencent.qcloud.tuikit.tuicontact.util.TUIContactLog

class SearchFriendActivity : AppActivity<ActivitySearchFriendBinding>() {
    private lateinit var newAdapter: SearchFriendAdapter

    companion object {
        private val TAG: String = SearchFriendActivity::class.java.getSimpleName()
        fun start(context: Context) {
            val intent = Intent(context, SearchFriendActivity::class.java)
            context.startActivity(intent)
        }
    }

    override fun getViewBinding() = ActivitySearchFriendBinding.inflate(layoutInflater)

    override fun initView() {
        binding.rcvSearch.layoutManager = LinearLayoutManager(this)
        newAdapter = SearchFriendAdapter()
        binding.rcvSearch.adapter = newAdapter
    }

    override fun initData() {

        initListener()
    }

    private fun initListener() {

    }

    override fun onClick(view: View) {
        super.onClick(view)
        when (view) {

        }
    }
}